package com.small.site.vo;

import com.small.site.pojo.SysPermission;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;

/**
 * @author xiaochi
 * @date 2021/12/13 18:13
 * @desc PermissionVo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PermissionVo extends SysPermission {

    private static final long serialVersionUID = -5793892963577116862L;

    // 用于权限列表时展示
    @Transient
    private String pidName;
}
